home *** CD-ROM | disk | FTP | other *** search
/ Merciful 2 / Merciful - Disc 2.iso / software / b / breathless2.dms / breathless2.adf / install < prev    next >
Text File  |  1995-12-20  |  6KB  |  447 lines

  1. ;
  2. ; Breathless Installer Utility
  3. ;
  4. ; This script is Copyright ©1995 by FIELDS of VISION Software Design
  5. ;
  6. ; Cracked by Maverick / Funky Trading / DELIGHT!
  7.  
  8. (
  9.     ; Setup English strings
  10.  
  11.     (set #intro
  12.         (cat
  13.             "- BREATHLESS -\n"
  14.             "\n"
  15.             "Cracked by [-mAVER¿Ck-] / dEL¿GHt\n" 
  16.             "&\n"
  17.             "Original by FIELDS OF DIVISION\n"
  18.         )
  19.     )
  20.  
  21.     (set #askdir
  22.         (cat    "Select where you would like to install "
  23.             "Breathless. A drawer called 'Breathless' will "
  24.             "be created here."
  25.         )
  26.     )
  27.  
  28.     (set #askdir_help
  29.         (cat
  30.             "Breathless executable and all necessary files will "
  31.             "be installed in the directory of your choice. You "
  32.             "may wish to create a new directory by using the "
  33.             "'Make New Drawer' gadget.\n\n"
  34.         )
  35.     )
  36.  
  37.     (set #overwrite
  38.         (cat
  39.             "The 'Breathless' directory already exists, overwrite?"
  40.         )
  41.     )
  42.  
  43.     (set #overwrite_help
  44.         (cat
  45.             "You may stop the install to "
  46.             "avoid overwriting your current "
  47.             "version of Breathless.\n\n"
  48.             "Continuing the install will "
  49.             "overwrite your current files."
  50.         )
  51.     )
  52.  
  53.     (set #yes
  54.         (cat
  55.             "Yes"
  56.         )
  57.     )
  58.  
  59.     (set #no
  60.         (cat
  61.             "No"
  62.         )
  63.     )
  64.  
  65.     (set #quit
  66.         (cat
  67.             "Quit"
  68.         )
  69.     )
  70.  
  71.     (set #disk1
  72.         (cat
  73.             "\nPlease insert disk 1 into any drive"
  74.         )
  75.     )
  76.  
  77.     (set #helpdisk1
  78.         (cat
  79.             "Search for disk labeled 'Disk1' and "
  80.             "insert it into any drive."
  81.         )
  82.     )
  83.             
  84.     (set #disk2
  85.         (cat
  86.             "\nPlease insert disk 2 into any drive"
  87.         )
  88.     )
  89.  
  90.     (set #helpdisk2
  91.         (cat
  92.             "Search for disk labeled 'Disk2' and "
  93.             "insert it into any drive."
  94.         )
  95.     )
  96.  
  97.     (set #disk3
  98.         (cat
  99.             "\nPlease insert disk 3 into any drive"
  100.         )
  101.     )
  102.  
  103.     (set #helpdisk3
  104.         (cat
  105.             "Search for disk labeled 'Disk3' and "
  106.             "insert it into any drive."
  107.         )
  108.     )
  109.  
  110.     (set #installed
  111.         (cat
  112.             "Breathless will be installed in "
  113.         )
  114.     )
  115.  
  116.     (set #installing
  117.         (cat
  118.             "Installing Breathless..."
  119.         )
  120.     )
  121.  
  122.     (set #creating
  123.         (cat
  124.             "Creating 'Breathless' directory"
  125.         )
  126.     )
  127.  
  128.     (set #copyingexe
  129.         (cat
  130.             "Copying Breathless executable..."
  131.         )
  132.     )
  133.  
  134.     (set #copyingother
  135.         (cat
  136.             "Copying support files..."
  137.         )
  138.     )
  139.  
  140.     (set #copying2disk
  141.         (cat
  142.             "Copying 2nd disk files..."
  143.         )
  144.     )
  145.  
  146.     (set #copying3disk
  147.         (cat
  148.             "Copying 3rd disk files..."
  149.         )
  150.     )
  151.  
  152.     (set #setup1
  153.         (cat
  154.             "Now I must insert following command in your "
  155.             "User-Startup."
  156.         )
  157.     )
  158.  
  159.     (set #setup2
  160.         (cat
  161.             ""
  162.         )
  163.     )
  164.  
  165.     (set #setup_help
  166.         (cat
  167.             "Breathless installation requires inserting an "
  168.             "Assign command in your User-Startup to properly "
  169.             "setup Breathless environment."
  170.         )
  171.     )
  172.  
  173.     (set #copying3disk
  174.         (cat
  175.             "Copying 3rd disk files..."
  176.         )
  177.     )
  178.  
  179.     (set #goodbye
  180.         (cat
  181.             "Thank you! Enjoy with Breathless! Call Funky Trading!"
  182.         )
  183.     )
  184.  
  185.     ; Start! Show intro message...
  186.  
  187.     (message #intro)
  188.  
  189.     ; Ask where to install breathless directory...
  190.  
  191.     (set destdir
  192.         (askdir
  193.             (prompt #askdir)
  194.             (help #askdir_help)
  195.             (default @default-dest)
  196.             (disk)
  197.         )
  198.     )
  199.  
  200.     (set destdir
  201.         (tackon destdir "Breathless")
  202.     )
  203.  
  204.     (set @default-dest destdir)
  205.  
  206.     ; See whether this directory exists, if so warn the user
  207.  
  208.     (if (exists @default-dest) 
  209.         (
  210.             (if (= 0 (askbool
  211.                     (prompt #overwrite)
  212.                     (help #overwrite_help)
  213.                     (choices #yes #quit)
  214.                 ))
  215.  
  216.                 (
  217.  
  218.                 ; User wishes to quit
  219.  
  220.                 (exit (quiet))
  221.                 )
  222.  
  223.             )
  224.         )
  225.     )
  226.  
  227.     ; Prompt for choosed dir
  228.  
  229.     (message #installed @default-dest)
  230.  
  231.     ; Start copy
  232.  
  233.     (complete 0)
  234.  
  235.     (working #installing)
  236.  
  237.     ; Create the directory if it doesn't exist
  238.  
  239.     (if (= 0 (exists @default-dest))
  240.         (
  241.             (makedir @default-dest
  242.                 (prompt #creating)
  243.                 (infos)
  244.             )
  245.         )
  246.     )
  247.  
  248.     ; Ask for 1st disk
  249.  
  250.     (askdisk
  251.         (prompt #disk1)    
  252.         (help #helpdisk1)
  253.         (dest "BREATHLESS1")
  254.     )
  255.  
  256.     ; Install the Breathless executable file
  257.  
  258.     (working #copyingexe)
  259.  
  260.     (copyfiles
  261.         (source "BREATHLESS1:Breathless")
  262.         (dest @default-dest)
  263.         (infos)
  264.     )
  265.  
  266.     ; Install other files
  267.  
  268.     (working #copyingother)
  269.  
  270.     (copyfiles
  271.         (source "BREATHLESS1:BREATHLESS.GLD")
  272.         (dest @default-dest)
  273.     )
  274.  
  275.     (copyfiles
  276.         (source "BREATHLESS1:BLES0002.GLD")
  277.         (dest @default-dest)
  278.     )
  279.  
  280.     (copyfiles
  281.         (source "BREATHLESS1:BLES0004.GLD")
  282.         (dest @default-dest)
  283.     )
  284.  
  285.     (copyfiles
  286.         (source "BREATHLESS1:BLES0006.GLD")
  287.         (dest @default-dest)
  288.     )
  289.  
  290.     (copyfiles
  291.         (source "BREATHLESS1:BLES0007.GLD")
  292.         (dest @default-dest)
  293.     )
  294.  
  295.     (copyfiles
  296.         (source "BREATHLESS1:BLES0008.GLD")
  297.         (dest @default-dest)
  298.     )
  299.  
  300.     (copyfiles
  301.         (source "BREATHLESS1:BLES0009.GLD")
  302.         (dest @default-dest)
  303.     )
  304.  
  305.     (copyfiles
  306.         (source "BREATHLESS1:BLES0010.GLD")
  307.         (dest @default-dest)
  308.     )
  309.  
  310.     (copyfiles
  311.         (source "BREATHLESS1:BLES0011.GLD")
  312.         (dest @default-dest)
  313.     )
  314.  
  315.     (copyfiles
  316.         (source "BREATHLESS1:BLES0012.GLD")
  317.         (dest @default-dest)
  318.     )
  319.  
  320.     (copyfiles
  321.         (source "BREATHLESS1:BLES0013.GLD")
  322.         (dest @default-dest)
  323.     )
  324.  
  325.     (copyfiles
  326.         (source "BREATHLESS1:BLES0014.GLD")
  327.         (dest @default-dest)
  328.     )
  329.  
  330.     (copyfiles
  331.         (source "BREATHLESS1:BLES0015.GLD")
  332.         (dest @default-dest)
  333.     )
  334.  
  335.     (copyfiles
  336.         (source "BREATHLESS1:BLES0016.GLD")
  337.         (dest @default-dest)
  338.     )
  339.  
  340.     (copyfiles
  341.         (source "BREATHLESS1:BLES0017.GLD")
  342.         (dest @default-dest)
  343.     )
  344.  
  345.     (copyfiles
  346.         (source "BREATHLESS1:BLES0018.GLD")
  347.         (dest @default-dest)
  348.     )
  349.  
  350.     (copyfiles
  351.         (source "BREATHLESS1:BLES0019.GLD")
  352.         (dest @default-dest)
  353.     )
  354.  
  355.     (copyfiles
  356.         (source "BREATHLESS1:BLES0020.GLD")
  357.         (dest @default-dest)
  358.     )
  359.  
  360.     (copyfiles
  361.         (source "BREATHLESS1:BLES0021.GLD")
  362.         (dest @default-dest)
  363.     )
  364.  
  365.     (copyfiles
  366.         (source "BREATHLESS1:BLES0022.GLD")
  367.         (dest @default-dest)
  368.     )
  369.  
  370.     (copyfiles
  371.         (source "BREATHLESS1:BLES0023.GLD")
  372.         (dest @default-dest)
  373.     )
  374.  
  375.     (copyfiles
  376.         (source "BREATHLESS1:BLES0024.GLD")
  377.         (dest @default-dest)
  378.     )
  379.  
  380.     (copyfiles
  381.         (source "BREATHLESS1:BLES0025.GLD")
  382.         (dest @default-dest)
  383.     )
  384.  
  385.     (complete 30)
  386.  
  387.     ; Ask for 2nd disk
  388.  
  389.     (askdisk
  390.         (prompt #disk2)
  391.         (help #helpdisk2)
  392.         (dest "BREATHLESS2")
  393.     )
  394.  
  395.     ; Install all files from 2nd disk
  396.  
  397.     (working #copying2disk)
  398.  
  399.     (copyfiles
  400.         (source "BREATHLESS2:BLES0001.GLD")
  401.         (dest @default-dest)
  402.     )
  403.  
  404.     (complete 60)
  405.  
  406.     ; Ask for 3rd disk
  407.  
  408.     (askdisk
  409.         (prompt #disk3)
  410.         (help #helpdisk3)
  411.         (dest "BREATHLESS3")
  412.     )
  413.  
  414.     ; Install all files from 3rd disk
  415.  
  416.     (working #copying3disk)
  417.  
  418.     (copyfiles
  419.         (source "BREATHLESS3:BLES0003.GLD")
  420.         (dest @default-dest)
  421.     )
  422.  
  423.     (complete 90)
  424.  
  425. ;    Updates User-StartUp
  426.  
  427.     (startup "Breathless"
  428.         (prompt
  429.             (cat
  430.                 #setup1
  431.                 "Assign Breathless: \"" @default-dest "\"\n\n"
  432.                 #setup2
  433.             )
  434.         )
  435.         (help #setup_help)
  436.         (command
  437.             "Assign Breathless: \"" @default-dest "\"\n"
  438.         )
  439.     )
  440.  
  441.     (complete 100)
  442.  
  443.     ; Say goodbye
  444.  
  445.     (message #goodbye)
  446. )
  447.